package org.example.travel_web.dto.comment;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.example.travel_web.enums.Type;

@Data
@Schema
public class UserCommentPageReq {
    @Schema(description = "页码", example = "1")
    @NotNull(message = "页码不能为空")
    private Integer page;
    @Schema(description = "每页数量", example = "10")
    @NotNull(message = "每页数量不能为空")
    private Integer size;
    @Schema(description = "关联id")
    @NotNull(message = "关联id不能为空")
    private Integer relateId;
    @Schema(description = "关联类型")
    @NotNull(message = "关联类型不能为空")
    private Type type;
}
